import requests
import json
import pandas as pd
def quanbu(key,city,extensions = "base",output = "json"):
    """根据用户输入的adcode，查询目标区域当前/未来的天气情况。具体查看：https://lbs.amap.com/api/webservice/guide/api/weatherinfo"""
    url = "https://restapi.amap.com/v3/weather/weatherInfo?parameters"
    params = {
        "key":key,
        "city":city
    }
    response = requests.get(url,params=params)
    results = response.json()
    # 返回值
    return results

